﻿using Inovout.Security;
using Inovout.Memberships;

namespace Inovout.Memberships
{
    public interface IMembershipUserService
    {
        IMembershipUser FindByClaimedIdentifier(ClaimedIdentifier claimedIdentifier);

        IMembershipUser FindByByUserNameOrEmailForLocal(string userName,string email);

        IMembershipUser FindByUserNameOrEmail(string userName);

        IMembershipUser FindByMembership(IMembership membership);

        IMembershipUser FindById(int id);

        IMembershipUser FindBySystemUserName(string name);

        IMembershipUser FindByProviderIdentifier(string provider, string identifier);

        IMembershipUser FindByUsingIdentifierForeach(string identifier);
        //IMembershipUser FindBySystemUser(SystemUser systemUser);

    }
}
